package com.hgx.su.common.pure.dto;


import java.io.Serializable;

/**
 * 参数请求体
 */
public class ParamRequest<T> implements Serializable {

    /**
     * 公共请求参数
     */
    protected PubRequest pubRequest;

    /**
     * 请求体
     */
    protected T body;

    public PubRequest getPubRequest() {
        return pubRequest;
    }

    public void setPubRequest(PubRequest pubRequest) {
        this.pubRequest = pubRequest;
    }

    /**
     * @return the body
     */
    public T getBody() {
        return body;
    }

    /**
     * @param body the body to set
     */
    public void setBody(T body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "ParamRequest{" +
                "pubRequest=" + pubRequest +
                ", body=" + body +
                '}';
    }
}
